package blackberry.util.assert;

class DjAssertionFailedError extends Error
{
	//~ Constructors -----------------------------------------------------------

	/***************************************
	 * Creates a new AssertionFailedError object.
	 */
	public DjAssertionFailedError()
	{
	}

	/***************************************
	 * Creates a new AssertionFailedError object.
	 *
	 * @param message The error message
	 */
	public DjAssertionFailedError(String message)
	{
		super(message);
		new DjAssertionFailedErrorScreen(message).pushErrorScreen();
		System.out.println(message);
	}
}